lib: Add a public helper method for pruning to find all ref'd commits
authorColin Walters <walters@verbum.org>
Mon, 30 Apr 2018 14:31:33 +0000 (14:31 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 24 May 2018 12:56:11 +0000 (12:56 +0000)
commit371081d123a9263d8dbdd4dad69c0468e2db427d
treead8d4d792a63a42473a92d3a8620a46f752a36b3
parentce2995e1dc1557c4d97ef5af807eacf3ef4a22d8
lib: Add a public helper method for pruning to find all ref'd commits

Prep for reworking how we do sysroot cleanup.  We're going to
start doing more lowlevel pruning work there, and I wanted to avoid
duplicating the ref enumeration.

Closes: #1566
Approved by: jlebon
apidoc/ostree-sections.txt
src/libostree/libostree-devel.sym
src/libostree/ostree-repo-prune.c
src/libostree/ostree-repo.h